package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 仪表管理对象 omp_ny_meter_management
 *
 * @author cjie
 * @date 2021-07-29
 */
@Data
@ApiModel
public class NyMeterManagement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 费用周期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用周期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "费用周期")
    private Date feeCycle;

    /** 仪表Id */
    @Excel(name = "仪表Id")
    @ApiModelProperty(value = "仪表Id")
    private String meterId;

    /** 实际用量 */
    @Excel(name = "实际用量")
    @ApiModelProperty(value = "实际用量")
    private BigDecimal actualDosage;

    /** 私表汇总用量 */
    @Excel(name = "私表汇总用量")
    @ApiModelProperty(value = "私表汇总用量")
    private BigDecimal summaryDosage;

    /** 新增分摊量 */
    @Excel(name = "新增分摊量")
    @ApiModelProperty(value = "新增分摊量")
    private BigDecimal addShare;

    /** 累计待分摊量 */
    @Excel(name = "累计待分摊量")
    @ApiModelProperty(value = "累计待分摊量")
    private BigDecimal cumulativeShare;

    /** 本次分摊量 */
    @Excel(name = "本次分摊量")
    @ApiModelProperty(value = "本次分摊量")
    private BigDecimal currentShare;

    /** 本次分摊量 */
    @Excel(name = "本次分摊系数")
    @ApiModelProperty(value = "本次分摊系数")
    private BigDecimal shareFactor;

    /** 计费单价 */
    @Excel(name = "计费单价")
    @ApiModelProperty(value = "计费单价")
    private BigDecimal unitPrice;

    /** 用量差额 */
    @Excel(name = "用量差额")
    @ApiModelProperty(value = "用量差额")
    private BigDecimal diffDosage;

    /** 仪表类别(总表,私表) */
    @Excel(name = "仪表类别(总表,私表)")
    @ApiModelProperty(value = "仪表类别(总表,私表)")
    private String category;

    /** 企业Id */
    @Excel(name = "企业Id")
    @ApiModelProperty(value = "企业Id")
    private String enterpriseId;

    /** 房源Id */
    @Excel(name = "房源Id")
    @ApiModelProperty(value = "房源Id")
    private String roomId;

    /** 单元Id */
    @Excel(name = "单元Id")
    @ApiModelProperty(value = "单元Id")
    private String unitId;

    /** 楼栋Id */
    @Excel(name = "楼栋Id")
    @ApiModelProperty(value = "楼栋Id")
    private String buildingId;

    /** 园区Id */
    @Excel(name = "园区Id")
    @ApiModelProperty(value = "园区Id")
    private String parkId;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 仪表类型 */
    @Excel(name = "仪表类型")
    @ApiModelProperty(value = "仪表类型")
    private String meterType;

    /** 仪表编码 */
    @Excel(name = "仪表编码")
    @ApiModelProperty(value = "仪表编码")
    private String meterNum;

    /** 安装位置 */
    @Excel(name = "安装位置")
    @ApiModelProperty(value = "安装位置")
    private String installPosition;

    /** 上级表 */
    @Excel(name = "上级表")
    @ApiModelProperty(value = "上级表")
    private String parentNum;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    /** 房源编号 */
    @Excel(name = "房源编号")
    @ApiModelProperty(value = "房源编号")
    private String roomNum;
}
